<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="verify-v1" content="Yg/dmzMZhAMvC9bxlhFKC7PnEMgBbBZQ4nbiyTLGJSY=" />
<title>{{ options.blog_name }}</title>
<link href="/static/style.css" rel="stylesheet" type="text/css" media="screen" />


<script src="http://ajax.googleapis.com/ajax/libs/mootools/1.11/mootools-yui-compressed.js"></script>
<script src="/static/growl1.1.js" type="text/javascript"></script>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="/feed/" />

{% block head %}

{% endblock %}

<script type="text/javascript">
		
	window.addEvent('domready', function(){
		{% block jsfuncs %}
		{% endblock %}
		});
</script>
</head>
<body>

<div id="menu">
	<a href="/">{{ options.blog_name }}</a>
	<br /><span id="blog_desc">{{ options.blog_desc }}</span>
</div>
<hr />

<!-- start page -->
<div id="page">
	<!-- start content -->
	<div id="content">
	{{ content }}
	{% block content %}
	{% endblock %}	
	
	</div>
	<!-- end content -->
	
	<!-- start sidebar -->
	
	{% include "widget.html" %}
	
	
	
	
	
	
	<!-- end sidebar -->

<div id="end_page">
	
</div>
</div>

<!-- end page -->
<div id="footer">
<p align="right">
{% if user %}
	<a href="{{ logout_url }}">{{user}} : Logout</a> ||
	{% endif %} <a href="/admin/">Admin</a></p>
</div>

{% if not user %}

{% if options.analytics %}
<!-- Google analytics -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("{{ options.analytics }}");
pageTracker._initData();
pageTracker._trackPageview();
</script>

{% endif %}
{% endif %}


</body>
</html>
